<template>
  <div>
    <el-button type="primary" @click="willAdd">添加</el-button>

    <!-- 列表 -->
    <v-list @willUpdate="willUpdate" ></v-list>
    <!-- 弹框 -->
    <v-form :status="status"  ref="form"></v-form>
  </div>
</template>
<script>
import vList from "./components/list.vue";
import vForm from "./components/form.vue";
import {statusMixins} from "../../mixins"
export default {
  components: {
    vList,
    vForm,
  },
  //混入
  mixins:[statusMixins],
};
</script>
<style scoped lang="less">
@import "../../less/index.less";
</style>